package com.gray.blog.arg.sys;

import com.gray.blog.common.arg.BaseArg;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * Created  By zhoux 2020/04/24
 **/
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class AddSysGeeksArg extends BaseArg {

    @ApiModelProperty("标题")
    @NotNull
    private String title;

    @ApiModelProperty("介绍")
    @NotNull
    private String introduction;

    @ApiModelProperty("封面")
    @NotNull
    private String cover;

    @ApiModelProperty("内容")
    @NotNull
    private String content;

    @ApiModelProperty("是否展示在主页")
    @NotNull
    private Integer showInFront;

}
